
package ManagerInfoFile;

public class NodeInfo {
    private String ipAdress;
    private int port;
    private int chiPhi;
    public NodeInfo()
    {
        this.ipAdress = "";
        this.port = 0;
        this.chiPhi = -1;
    }
    public NodeInfo(String ipAdrr,int port,int chiphi)
    {
        this.ipAdress = ipAdrr;
        this.port = port;
        this.chiPhi = chiphi;
    }
    public void SetChiPhi(int chiphi)
    {
        this.chiPhi = chiphi;
    }
    public String GetIpAddress()
    {
       return this.ipAdress;
    }
    public int GetPort()
    {
        return this.port;
    }
    public int GetChiPhi()
    {
        return this.chiPhi;
    }
   
}
